package com.nwpu.coursesupport.mapper;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.nwpu.coursesupport.criteria.ClassRespositorySearchCriteria;
import com.nwpu.coursesupport.entity.Respository;

public interface RespositoryMapper extends BaseMapper<Respository>{
	
	public int countByClassId(ClassRespositorySearchCriteria sc);
	
	public List<Respository> findByClassId(ClassRespositorySearchCriteria sc, RowBounds bounds);
	
	public List<Respository> findByClassId(ClassRespositorySearchCriteria sc);
	
	public List<Integer> findByIds(List<Integer> list);
	
	public int batchSave(List<Respository> list);
	
	public boolean updateQuote(Respository r);
}